package com.yunke.dto.dazi;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;

/**
 * 云科参与搭子DTO
 * 
 * @author yunke
 * @since 2024-01-01
 */
@Data
@Schema(description = "参与搭子参数")
public class YunkeDaziJoinDto {

    /**
     * 搭子ID
     */
    @NotNull(message = "搭子ID不能为空")
    @Schema(description = "搭子ID", example = "1")
    private Long daziId;

    /**
     * 申请理由
     */
    @Size(max = 500, message = "申请理由不能超过500个字符")
    @Schema(description = "申请理由")
    private String applyReason;

    /**
     * 联系方式
     */
    @Size(max = 100, message = "联系方式不能超过100个字符")
    @Schema(description = "联系方式")
    private String contact;
} 